{"ast":null,"code":"var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar Meta = function Meta(props) {\n  var customizePrefixCls = props.prefixCls,\n    className = props.className,\n    avatar = props.avatar,\n    title = props.title,\n    description = props.description,\n    others = __rest(props, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n  var _React$useContext = React.useContext(ConfigContext),\n    getPrefixCls = _React$useContext.getPrefixCls;\n  var prefixCls = getPrefixCls('card', customizePrefixCls);\n  var classString = classNames(\"\".concat(prefixCls, \"-meta\"), className);\n  var avatarDom = avatar ? /*#__PURE__*/React.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-meta-avatar\")\n  }, avatar) : null;\n  var titleDom = title ? /*#__PURE__*/React.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-meta-title\")\n  }, title) : null;\n  var descriptionDom = description ? /*#__PURE__*/React.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-meta-description\")\n  }, description) : null;\n  var MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/React.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-meta-detail\")\n  }, titleDom, descriptionDom) : null;\n  return /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n    className: classString\n  }), avatarDom, MetaDetail);\n};\nexport default Meta;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","classNames","React","ConfigContext","Meta","props","customizePrefixCls","prefixCls","className","avatar","title","description","others","useContext","getPrefixCls","classString","avatarDom","createElement","titleDom","descriptionDom","MetaDetail","assign"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/card/Meta.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nconst Meta = props => {\n  const {\n      prefixCls: customizePrefixCls,\n      className,\n      avatar,\n      title,\n      description\n    } = props,\n    others = __rest(props, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('card', customizePrefixCls);\n  const classString = classNames(`${prefixCls}-meta`, className);\n  const avatarDom = avatar ? /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-meta-avatar`\n  }, avatar) : null;\n  const titleDom = title ? /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-meta-title`\n  }, title) : null;\n  const descriptionDom = description ? /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-meta-description`\n  }, description) : null;\n  const MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-meta-detail`\n  }, titleDom, descriptionDom) : null;\n  return /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n    className: classString\n  }), avatarDom, MetaDetail);\n};\nexport default Meta;"],"mappings":"AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EA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